#ifndef _LED_H_
#define _LED_H_
#include "Global.h"

#define P_LED_R         _pb0
#define LED_R_ON()      do{P_LED_R = LOW;}while(0)
#define LED_R_OFF()     do{P_LED_R = HIGH;}while(0)   

#define P_LED_B         _pb1
#define LED_B_ON()      do{P_LED_B = LOW;}while(0)
#define LED_B_OFF()     do{P_LED_B = HIGH;}while(0)

void LED_Flash(uint8 times);
// void LED_Flash(uint8 loop, uint8 tm_on, uint8 tm_off);
// void LED_Flash2(void);
// #define LED_Flash_2 LED_Flash2
void LED_ON(void);
void LED_OFF(void);
#endif
